home *** CD-ROM | disk | FTP | other *** search
/ Magnum One / Magnum One (Mid-American Digital) (Disc Manufacturing).iso / d12 / ptv1n4.arc / L5.ASM < prev    next >
Assembly Source File  |  1990-09-13  |  348b  |  13 lines

  1.  
  2.  
  3.      CLC            ;clear the carry for the initial addition
  4. LOOP_TOP:
  5.      MOV  AX,[SI]   ;get next source operand word
  6.      ADC  [DI],AX   ;add with carry to dest operand word
  7.      INC  SI        ;point to next source operand word
  8.      INC  SI
  9.      INC  DI        ;point to next dest operand word
  10.      INC  DI
  11.      LOOP LOOP_TOP
  12.  
  13.